package Login;

import javax.servlet.http.HttpServletRequest;
import org.apache.struts.action.*;

/**
 * Clase LoginForm
 * @author Piztacho
 *
 */
public class LoginForm extends ActionForm {

	private String userName;
	private String password;
	
	
	//setters
	public void setUserName(String name){
		userName=name;
	}
	
	public void setPassword(String pass){
		password=pass;
	}
	
	//getters
	public String getUserName(){
		return userName;
	}
	
	public String getPassword(){
		return password;
	}
	
	//otros
	public void reset(ActionMapping mapping, HttpServletRequest request){
        this.userName = null;
        this.password = null;
    }

}
